using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
	/// <summary>
	/// 九士管家配置表
	/// </summary>
	[Table("JIUSHI_JSCONFIG")]
	public class JsconfigEntity
	{
		/// <summary>
		/// 自然主键
		/// </summary>
		[Key]
		[Column("F_ID")]
		public string Id {get;set;}

		/// <summary>
		/// 最小月份
		/// </summary>
		[Column("F_MIN")]
		public int? Min {get;set;}

		/// <summary>
		/// 最大月份
		/// </summary>
		[Column("F_MAX")]
		public int? Max {get;set;}


        /// <summary>
        /// 最小推广人数
        /// </summary>
        [Column("F_MinNumber")]
        public int? MinNumber { get; set; }

        /// <summary>
        /// 最大推广人数
        /// </summary>
        [Column("F_MaxNumber")]
        public int? MaxNumber { get; set; }



        /// <summary>
        /// 提成
        /// </summary>
        [Column("F_COMMISSION")]
		public decimal? Commission {get;set;}

		/// <summary>
		/// 描述
		/// </summary>
		[Column("F_DESCRIPTION")]
		[MaxLength(65535)]
		public string Description {get;set;}

		/// <summary>
		/// 排序
		/// </summary>
		[Column("F_SORTCODE")]
		public int? SortCode {get;set;}

		/// <summary>
		/// 有效标志
		/// </summary>
		[Column("F_ENABLEDMARK")]
		public int? EnabledMark {get;set;}

		/// <summary>
		/// 创建时间
		/// </summary>
		[Column("F_CREATORTIME")]
		public DateTime? CreatorTime {get;set;}

		/// <summary>
		/// 创建用户
		/// </summary>
		[Column("F_CREATORUSERID")]
		[MaxLength(50)]
		public string CreatorUserId {get;set;}

		/// <summary>
		/// 修改时间
		/// </summary>
		[Column("F_LASTMODIFYTIME")]
		public DateTime? LastModifyTime {get;set;}

		/// <summary>
		/// 修改用户
		/// </summary>
		[Column("F_LASTMODIFYUSERID")]
		[MaxLength(50)]
		public string LastModifyUserId {get;set;}

		/// <summary>
		/// 删除标志
		/// </summary>
		[Column("F_DELETEMARK")]
		public int? DeleteMark {get;set;}

		/// <summary>
		/// 删除时间
		/// </summary>
		[Column("F_DELETETIME")]
		public DateTime? DeleteTime {get;set;}

		/// <summary>
		/// 删除用户
		/// </summary>
		[Column("F_DELETEUSERID")]
		[MaxLength(50)]
		public string DeleteUserId {get;set;}


	}
}
